/**
 * Project Name:youba
 * Package Name:com.inoneone.youba.mcht.dto.req
 * Date:2017/6/21下午2:20
 * Copyright (c) 2017, www.zbj.com All Rights Reserved
 */
package com.inoneone.youba.mcht.dto.rsp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.inoneone.youba.mcht.util.CustomDecimalSerialize;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Description: (描述) </br>
 * Date: 2017/6/21下午2:20 </br>
 *
 * @author 姬远玄
 * @since JDK 1.7
 */
public class MyCardsRsp {


    /**
     * ic卡号
     */
    private String cardId;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 余额
     */
    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal balance;

    /**
     * ic卡状态
     * @see com.inoneone.toolkit.enums.CardStatus
     */
    private Integer status;

    /**
     * 累计充值金额
     */
    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal totalCharge;

    /**
     * 所属单位
     */
    private String company;

    /**
     * 余额变动时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date balanceTime;

    private Integer color;

    public Date getBalanceTime() {
        return balanceTime;
    }

    public void setBalanceTime(Date balanceTime) {
        this.balanceTime = balanceTime;
    }

    public Integer getColor() {
        return color;
    }

    public void setColor(Integer color) {
        this.color = color;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getTotalCharge() {
        return totalCharge;
    }

    public void setTotalCharge(BigDecimal totalCharge) {
        this.totalCharge = totalCharge;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }
}
